import http from "@/utils/http";

/** 商户 */
export class MerchantApi {
   static readonly Create = (params: FormData) => http.post("/api/Merchant/create", params);

   static readonly Delete = (params: Merchant.Delete) => http.post("/api/Merchant/delete", params);

   static readonly Update = (params: FormData) => http.post("/api/Merchant/update", params);

   static readonly Search = (params: Merchant.Search) => http.get<Merchant.SearchResult[]>("/api/Merchant/search", params);
}
